package org.clipjoint.dao;

import org.clipjoint.entity.dto.GameDto;
import org.clipjoint.entity.Game;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 陈光耀
 * @date 2021/2/22
 */
public interface GameAdminDao {

    List<Game> selectAll(GameDto gameDto) throws SQLException;

    Long selectCount(GameDto gameDto) throws SQLException;

    int insert(Game game) throws SQLException;

    int deleteById(Long id) throws SQLException;

    Game selectOne(GameDto gameDto) throws SQLException;

    int update(Game game) throws SQLException;


}
